package cn.itcast.com;

public class Demo3 {
    public static void main(String[] args) {
        String s = "97 14 52 46 25";
        String[] x = s.split(" ");
        int[] arr = new  int[x.length];
        for (int i = 0; i <x.length ; i++) {
                int num = Integer.parseInt(x[i]);
                arr[i] = num;
        }
        for(int j=0; j<arr.length; j++){
            System.out.print(arr[j]+" ");
        }
    }
}
